<template>
    <div id="notify">
    </div>
</template>
<script>
    import {
        quality_operation_reminder_operation_cautions
    } from "@/api/Largewidthmeterlist";
    export default {
        props:['noTifyData'],
        mounted() {
            this.openlist()
        },
       
        methods: {
            openlist() {
                var param = {
                    "customer_id": this.noTifyData.customer_id,
                    "product_type_id": this.noTifyData.product_type_id,
                    "node_id": this.noTifyData.node_id
                }
                quality_operation_reminder_operation_cautions(param).then((res) => {
                    this.$notify.closeAll();
                    const h = this.$createElement;
                    // this.$notify({
                    //     title: '客户默认提醒',
                    //     position: 'bottom-right',
                    //     type: 'warning',
                    //     duration: 10000,
                    //     offset: 0,
                    //     dangerouslyUseHTMLString: true,
                    //     customClass: 'custom-notification', // 自定义 CSS 类
                    //     message: h('el-table', {
                    //         props: {
                    //             data:
                    //                 res.data.data, border: true, height: "382", size: "mini"
                    //         }, style: { width: '374px', margin: '10px 0px 0px -36px' }
                    //     }, [
                    //         h('el-table-column', { props: { prop: "key", label: "提醒" } }, {}),
                    //         h('el-table-column', { props: { prop: "value", label: "状态" } }, {}), ,
                    //     ])
                    // });
                })
            }
        }

    }

</script>
<style>
    #notify {}

    .custom-notification {
        width: 364px;
    }

    .custom-notification.left {
        left: 0px;
    }
</style>